/*    */ package com.qmsk.business.store.vicecard.dao;
/*    */ 
/*    */ import com.qmsk.business.sys.basic.SupportDAO;
/*    */ import com.utils.gson.out.GsonEbRst;
/*    */ import java.sql.SQLException;
/*    */ import java.util.Map;
/*    */ 
/*    */ public class ViceCardDao extends SupportDAO
/*    */ {
/*    */   public GsonEbRst getViceCardOpt(Map<String, Object> params, int nPageIdx, short nPageSize)
/*    */     throws SQLException
/*    */   {
/* 21 */     return getGsonOfParams("selectSqlOfAll", params, Integer.valueOf(nPageIdx), 
/* 22 */       Short.valueOf(nPageSize), true);
/*    */   }
/*    */ 
/*    */   public int updateCheckOfId(Long id) throws SQLException {
/* 26 */     Object[] params = { Integer.valueOf(2), id };
/* 27 */     return update("updateChecked", params);
/*    */   }
/*    */ 
/*    */   public int updatePayNoOneOfId(Map<String, Object> params) throws SQLException {
/* 31 */     return update("updatePayNoOneOfId", params);
/*    */   }
/*    */ 
/*    */   public int updatePayOneOfId(Map<String, Object> params) throws SQLException {
/* 35 */     return update("updatePayOneOfId", params);
/*    */   }
/*    */ 
/*    */   public Double getTotalAmtOfMemberID(Long memberId, Long shopId) throws SQLException {
/* 39 */     Object[] params = { memberId, shopId };
/* 40 */     return queryForDouble("getTotalAmtOfMemberID", params, Double.valueOf(0.0D));
/*    */   }
/*    */ 
/*    */   public Double getTotalAmtOfid(Long id) throws SQLException {
/* 44 */     Object[] params = { id };
/* 45 */     return queryForDouble("getTotalAmtOfID", params, Double.valueOf(0.0D));
/*    */   }
/*    */ }

/* Location:           C:\Users\Administrator\Desktop\新建文件夹\WEB-INF\classes\
 * Qualified Name:     com.qmsk.business.store.vicecard.dao.ViceCardDao
 * JD-Core Version:    0.5.3
 */